package com.wpre.blogsystem.common.pojo.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description: 更新的请求
 * User: LianBao
 * Date: 2024-12-07
 * Time: 15:02
 */
@Data
public class UpdateBlogParam {
    @NotNull(message = "博客id不能为空")
    private Integer id;
    @NotBlank(message = "标题不能为空")
    private String title;
    @NotBlank(message = "文章内容不能为空")
    private String content;
}
